<?php  /* QeePHP 模板缓存文件生成时间：2014-10-07 00:10:13  */ ?>
<!--<####incl*83de122a4975096009aeac9238af06a4*ude####>--><?php $this->includeChildTemplate(TEMPLATE_PATH.'/header.html',__FILE__,"TEMPLATE_PATH.'/header.html'");?><!--</####incl*83de122a4975096009aeac9238af06a4*ude####/>-->
				<div id="content">
					<?php if(!empty($arrTaskLists)):?>
					<?php $i=1;?>
<?php if(is_array($arrTaskLists)):foreach($arrTaskLists as $key=>$oTask):?>

					<div class="post">
						<h2 class="title"><a href="<?php echo(Q::U( 'index/update_task?id='.$oTask['task_id']));?>" title="编辑任务"><?php echo($oTask['task_subject']);?></a></h2>
						<p class="meta">Post by <?php echo($oTask['user_name']);?> on <?php echo(date('Y-m-d H:i:s',$oTask['create_dateline']));?>
							<?php if($GLOBALS['___login___']!==FALSE && $GLOBALS['___login___']['user_id']==$oTask['user_id']):?>&nbsp;&bull;&nbsp; <?php if($oTask['task_is_completed']==1):?>任务已完成<?php else:?>
							
							
							<a href="<?php echo(Q::U( 'index/do_task?id='.$oTask['task_id']));?>">做任务</a><?php endif;?>&nbsp;&bull;&nbsp; <a href="<?php echo(Q::U( 'index/delete_task?id='.$oTask['task_id']));?>">删除</a>
							<?php endif;?>
							</p>
						<div class="entry">
							<p><?php echo($oTask['task_description']);?>
							<?php if($oTask['update_dateline']):?><div style="color:red;">最后更新时间<?php echo(date('Y-m-d H:i:s',$oTask['update_dateline']));?></div><?php endif;?>
							</p>
						</div>
					</div>
					
<?php $i++;?>
<?php endforeach;endif;?>
					<?php else:?>
					没有发现任何记录！
					<?php endif;?>


					<div style="clear: both;">&nbsp;</div>
					<?php echo($sPageNavbar);?>
				</div>
				<!-- end #content -->

<!--<####incl*78a3c314c520a013e857b51a375e05a8*ude####>--><?php $this->includeChildTemplate(TEMPLATE_PATH.'/sidebar.html',__FILE__,"TEMPLATE_PATH.'/sidebar.html'");?><!--</####incl*78a3c314c520a013e857b51a375e05a8*ude####/>-->
<!--<####incl*ec1b7d0149e412a89c361cb3b24e3aa0*ude####>--><?php $this->includeChildTemplate(TEMPLATE_PATH.'/footer.html',__FILE__,"TEMPLATE_PATH.'/footer.html'");?><!--</####incl*ec1b7d0149e412a89c361cb3b24e3aa0*ude####/>-->
